/*
 * RoleMenuMapper.java
 * Copyright(C) 2020-2099 坚小持
 * All rights reserved.
 * -----------------------------------------------
 * 2020-08-13 Created
 */
package com.project.web.system.mapper.app;

import com.project.web.system.mapper.common.BaseMapper;
import com.project.web.system.model.app.RoleMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMenuMapper extends BaseMapper<RoleMenu, Long> {

    public void deleteByRoelId(Long id);

    public void batchSave(@Param("roleMenus") List<RoleMenu> roleMenus);

    public List<Long> selectMenuByRoleIds(@Param("roleIds") List<Long> roleIds);
}